﻿<Window x:Class="Tanmia.Windows.SecurityScenario.SignIn"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="تسجيل الدخول إلى تنمية للمحاسبة والمستودعات" Height="170" Width="350" FlowDirection="RightToLeft" Loaded="Window_Loaded">
    <Grid Margin="8">
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="auto" />
            <ColumnDefinition Width="*" />
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="6" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="auto" />
        </Grid.RowDefinitions>
        
        <Label Content="اسم المستخدم: "/>
        <ComboBox Name="cmbUsers" Grid.Column="1" Margin="4,2,8,1" Height="23"/>
        
        <Label Content="كلمة المرور: " Grid.Row="2"/>
        <PasswordBox Name="txtPassword" Grid.Row="2" Grid.Column="1" Margin="4,2,8,1" Height="23"/>
        
        <Grid Grid.Row="4" Grid.ColumnSpan="2">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="*" />
                <ColumnDefinition Width="*" />
            </Grid.ColumnDefinitions>
            <Button Content="تسجيل الدخول" Grid.Column="0" IsDefault="True" Margin="4,2,8,1" Height="23" Click="SignIn_Click"/>
            <Button Content="خروج" Grid.Column="1" IsCancel="True" Margin="4,2,8,1" Height="23" Click="Cancel_Click"/>
        </Grid>
    </Grid>
</Window>
